package spring.j2024_11_16_2.service;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;
import spring.j2024_11_16_2.dao.UserDao;

@Controller
@ResponseBody
public class UserService {
    @RequestMapping("/user/list")
    public String list(){
        return "hello" ;

    }

}
                                    